package nciae.db.service;

import nciae.db.common.CommonResult;
import nciae.db.entity.User;

public interface UserService {
    public CommonResult add(User user);
    public CommonResult edit(User user);
    public CommonResult list(String userName,String realName);
    public CommonResult listByPage(String userName,String realName,Integer page,Integer size);
    public CommonResult del(Integer id);
    public User getUserById(Integer id);

    User login(User user);
}
